Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

637
Vistas
Odoo15 | Uncaught Promise Error > deserializeDateTime

I've been developing some modules that extend Sale, Inventory, and MRP (manufacturing) and have been getting this error on occasion.

I've tried clearing my browser's cache but that hasn't worked to address the bug.

As a temporary fix I'll drop my db, create a new one with the same name and then load the modules, but that's not sustainable long term.

Any suggestions on why this issue pops up or how to fix it are greatly appreciated!

Uncaught Promise > deserializeDateTime is not a function
TypeError: deserializeDateTime is not a function
    at new ExpirationPanel (http://localhost:8069/web/assets/138-5429130/web.assets_backend.min.js:9992:157)
    at QWeb.eval (eval at _compile (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:1016:178), <anonymous>:34:16)
    at QWeb.fn (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:998:173)
    at QWeb.render (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:1005:20)
    at HomeMenu.__render (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:1334:33)
    at HomeMenu.__prepareAndRender (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:1332:29)```
about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

I've the same error with Official Odoo docker the error occurs when I install the Billing application...

I am just starting to develop custom modules so for the moment there is very little code and customs. I will try without custom module to see if the error appears too.

about 4 years ago · Juan Pablo Isaza Denunciar

0

Well I think I found a temporary solution. After looking for the deserializeDateTime function on the Odoo repository and enterprise I was able to find where it caused the error.

You have to delete database.expiration_date in ir.config_parameter (Menu technical > system params ) which allows to pass in the else here :

let expirationDate;
if (this.enterprise.expirationDate) {
    expirationDate = deserializeDateTime(this.enterprise.expirationDate);
} else {
    // If no date found, assume 1 month and hope for the best
    expirationDate = DateTime.utc().plus({ days: 30 });
}

I think I should send the error up to get more explanations...

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda